package com.sugar.subscribe.course.module.business.controller.admin.coachvideo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;
import com.sugar.subscribe.course.framework.excel.core.annotations.DictFormat;
import com.sugar.subscribe.course.framework.excel.core.convert.DictConvert;

import static com.sugar.subscribe.course.module.business.enums.DictTypeConstants.BUSINESS_AUDIT_STATUS;

@Schema(description = "管理后台 - 教练视频介绍 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CoachVideoRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13395")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "教练ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1771")
    @ExcelProperty("教练ID")
    private Long coachId;

    @Schema(description = "教练姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "1771")
    @ExcelProperty("教练姓名")
    private String coachName;

    @Schema(description = "视频Url", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("视频Url")
    private String videoUrl;

    @Schema(description = "审核状态（字典：business_audit_status）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty(value = "审核状态（字典：business_audit_status）", converter = DictConvert.class)
    @DictFormat(BUSINESS_AUDIT_STATUS)
    private Integer auditStatus;

    /**
     * 审核拒绝原因
     */
    private String refuseCause;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
